<div class="search_form">
<h1><?php echo __("Search Orders",true)?></h1>
<?php 
	echo $javascript->codeBlock("
		$(document).ready(function() {
			$( \"#OrdersSeriesExecutionDate\" ).datepicker({showButtonPanel: true, dateFormat: 'mm-dd-yy'});
		});
		",$options = array('allowCache'=>true,'safe'=>true,'inline'=>false));
?> 
<?php 
    echo $form->create('OrdersSeries', array(
		'url' => array_merge(array('action' => 'find'), $this->params['pass'])
		));
	echo $form->input('execution_date', array('div' => false,'type'=>'text','value'=>''));
	echo $form->input('orders_id', array('div' => false,'label'=>'Order','options'=>$orders,'empty'=>''));
	echo $form->input('employee_id', array('div' => false,'options' => $employees,'empty'=>''));
	echo $form->input('payment_status', array('div' => false,'options' => $paymentStatus,'empty'=>''));
	echo $form->input('status', array('div' => false,'options' => $statusOfImplementation,'empty'=>''));
	echo $form->submit(__("Search", true), array('div' => false));
	echo $form->end();
?>
</div>